<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10" />
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>在线播放{{$video['title']}} - 高清资源 - {{laracvs('webset.webname')}}</title>
    <meta name="keywords" content="{{$video['title']}}免费在线观看,{{$video['title']}}剧情介绍" />
    <meta name="description" content="{{$video['title']}}免费在线观看,{{$video['title']}}剧情介绍" />
    @include('laracvs.include')
</head>

<body>
@include('laracvs.head')
<div class="container">
    <div class="row">
        <div class="stui-pannel stui-pannel-bg clearfix">
        {!! laracvs_ad(9) !!}<!--自定义广告位-->
        </div>
        <div class="stui-pannel stui-pannel-bg clearfix">
            <div class="stui-pannel-box">
                <div class="stui-pannel-bd">
                    <div class="stui-player col-pd">
                        <div class="stui-player__video embed-responsive embed-responsive-16by9 clearfix">
                            <div class="bofang_box">
                                <iframe id="video" src="" frameborder="0" scrolling="no" width="100%" height="100%" allowfullscreen="true" style="position: absolute; z-index: 2; display: block;" __idm_frm__="193"></iframe>
                            </div>
                        </div>
                        <div class="stui-player__detail detail">
                        <ul class="stui-content__playlist column10 clearfix">
                            @foreach(laracvs_interface() as $key=>$v)
                           <li><a href='javascript:void(0)' data-interface="{{$v}}" class="interfacebtn" id="{{$loop->index==0?"ys":""}}"  onclick="xldata(this)" style="width: 100px" target="_self">{{$key}}</a></li>
                            @endforeach
                        </ul>
                            <h4 class="title">
                                <a href="#">{{$video['title']}}</a>
                                <a href='javascript:void(0)' class="changebtn" id="next"  style="width: 100px" target="_self">下一集</a>
                                <a href='javascript:void(0)' class="changebtn" id="prev"  style="width: 100px" target="_self">上一集</a>
                            </h4>
                            <p class="data margin-0">
                                <span class="text-muted">{{$video['vtype']}}</span>
                                <span class="split-line"></span>
                                <span class="text-muted hidden-xs">{{$video['location']}}</span>
                                <span class="split-line"></span>
                                <span class="text-muted hidden-xs">{{$video['year']}}</span>
                                <span class="split-line"></span>
                                <span id="vid" data-vid="{{$vid}}"></span>
                                <a class="detail-more" href="javascript:;">详情
                                    <i class="icon iconfont icon-moreunfold"></i></a>
                            </p>
                            <div class="detail-content" style="display: none;">
                                <p class="data">
                                    <span class="text-muted">{{$video['actor']}}</span>
                                </p>
                                <p class="desc margin-0">
                                    <span class="left text-muted">简介：</span>{!! $video['desc'] !!}</p></div>
                            </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="stui-pannel stui-pannel-bg clearfix">
        {!! laracvs_ad(8) !!}<!--自定义广告位-->
        </div>
        <!-- 播放器-->
        @foreach($player as $v)
            <div class="stui-pannel stui-pannel-bg clearfix">
                <div class="stui-pannel-box">
                    <div class="stui-pannel_hd">
                        <div class="stui-pannel__head bottom-line clearfix">
                            <span class="more text-muted pull-right">{{$v['name']}}</span>
                            <h3 class="title">{{$v['name']}}</h3></div>
                    </div>
                    <div class="stui-pannel_bd col-pd clearfix {{$loop->index==0?"":"hidepanel"}} sw">
                        @if(in_array($type,['dianshi','dongman','zongyi']))
                            <ul class="stui-content__playlist column10 clearfix">
                                @foreach($v['data'] as $k)
                                    <li><a   href='javascript:void(0)' onclick="bofang(this)" data-href="{{$k['href']}}" vid="{{laracvs_array_last($k['href'])}}" class="vplay" style="width: 100px" target="_self">{{$type=="zongyi"?$k['js']:"第".$k['js']."集"}}</a></li>
                                @endforeach
                            </ul>
                        @elseif(in_array($type,['zy']))
                            <ul class="stui-content__playlist column10 clearfix">
                                @foreach($v['data'] as $k)
                                    <li><a title='' href='javascript:void(0)' vid="{{laracvs_array_last($k['1'])}}" class="vplay" onclick="bofang(this)" data-href="{{$k['1']}}" style="width: 100px" target="_self">{{$k[0]}}</a></li>
                                @endforeach
                            </ul>
                        @else
                            <ul class="stui-content__playlist column10 clearfix">
                                <li><a  onclick="bofang(this)" vid="{{laracvs_array_last($v['href'])}}" class="vplay" href='javascript:void(0)' data-href="{{$v['href']}}" target="_self">{{$v['name']}}</a></li>
                            </ul>
                        @endif
                    </div>
                </div>
            </div>
    @endforeach
        <!-- 播放列表-->
        <div class="stui-pannel stui-pannel-bg clearfix">
            <div class="stui-pannel-box">
                <div class="stui-pannel_hd">
                    <div class="stui-pannel__head clearfix">
                        <h3 class="title">
                            <img src="{{laracvs_asset('laracvs/images/icon_6.png')}}" />猜你喜欢</h3></div>
                </div>
                <div class="stui-pannel_bd">
                    <ul class="stui-vodlist__bd clearfix">
                        @foreach($like as $v)
                            <li class="col-md-6 col-sm-4 col-xs-3">
                                <div class="stui-vodlist__box">
                                    <a class="stui-vodlist__thumb img-shadow" href="/detail/kan/{{$v['href']}}.html" title="{{$v['title']}}">
                                        <img src="{{$v['img']}}" alt="{{$v['title']}}">
                                        <span class="play hidden-xs"></span>
                                        <span class="pic-text text-right"></span></a>
                                    <div class="stui-vodlist__detail">
                                        <h4 class="title text-overflow">
                                            <a href="/detail/kan/{{$v['href']}}.html" title="{$vo.vod_name}">{{$v['title']}}</a></h4>
                                        <p class="text text-overflow text-muted hidden-xs"></p></div>
                                </div>
                            </li>
                            @break($loop->index==11)
                        @endforeach
                    </ul>
                </div>
            </div>
        </div>
        <!-- 猜你喜欢-->
        <span style="display:none" class="mac_ulog_set" alt="设置内容页浏览记录" data-type="1" data-mid="{$maccms.mid}" data-id="{$obj.vod_id}" data-sid="{$param.sid}" data-nid="{$param.nid}"></span>
        <span style="display:none" class="mac_history_set" alt="设置History历史记录" data-name="[{$obj.type.type_name}]{$obj.vod_name}" data-pic="{$obj.vod_pic|mac_url_img}"></span>
    </div>
</div>
@include('laracvs.foot')
</body>
</html>